package com.goldsprite.microhorigame.screens.examples.spinegfsmexamples.spinegfsm.states;

import com.goldsprite.microhorigame.screens.examples.spinegfsmexamples.gfsm.State;
import com.goldsprite.microhorigame.screens.examples.spinegfsmexamples.AnimType;
import com.goldsprite.microhorigame.screens.examples.spinegfsmexamples.spinegfsm.SpineStateMachine;

public class SpineIdleState extends State<SpineStateMachine> {
	@Override
	public boolean canEnter() {
		return true;
	}

	@Override
	public boolean canExit() {
		return true;
	}

	@Override
	public void enter() {
		fsm.getEntity().playAnim(AnimType.IDLE, true);
		System.out.println("进入待机状态");
	}
}

